package com.ftg.learn.test1.threadnumchar;

/**
 * 测试
 *
 * @author lijiaxin
 * @version 1.0
 * @date 2023/8/12 16:27
 */

public class Demo {
    public static void main(String[] args) {
        MyPtint myPtint=new MyPtint();
        new Thread(()->{
            for (int i = 0; i < 26; i++) {
                myPtint.printnum();
            }
        }).start();

        new Thread(()->{
            for (int i = 0; i <26 ; i++) {
                myPtint.printchar();
            }
        }).start();
    }
}
